package net.togogo.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @FeignClient 被消费的服务的名称
 */

@FeignClient(value = "service-hi")
public interface SchedualServiceHi {

    @GetMapping("/hi")
   String sayHiFromclientOne(@RequestParam(value = "name") String name);
}
